package com.kitty.web.domain;



import com.kitty.web.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 称号配置对象 p_chengwei
 * 
 * @author soul
 * @date 2022-04-08
 */
public class PChengwei extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 名称 */

    private String name;

    /** 属性 */

    private String attr;

    /** 达成条件 */

    private Long conditions;

    /** 文字颜色 */

    private String color;

    /** 过期时间 */

    private Long time;

    /** 创建时间 */

    private Date addTime;

    /** 外观 */

    private Long icon;

    /** 备注 */

    private String remake;

    /** 类型 */

    private String chtype;

    /** 创建时间 */

    private Date addtime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAttr(String attr) 
    {
        this.attr = attr;
    }

    public String getAttr() 
    {
        return attr;
    }

    public Long getConditions() {
        return conditions;
    }

    public void setConditions(Long conditions) {
        this.conditions = conditions;
    }

    public void setColor(String color)
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }
    public void setTime(Long time) 
    {
        this.time = time;
    }

    public Long getTime() 
    {
        return time;
    }
    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }
    public void setIcon(Long icon) 
    {
        this.icon = icon;
    }

    public Long getIcon() 
    {
        return icon;
    }
    public void setRemake(String remake) 
    {
        this.remake = remake;
    }

    public String getRemake() 
    {
        return remake;
    }
    public void setChtype(String chtype) 
    {
        this.chtype = chtype;
    }

    public String getChtype() 
    {
        return chtype;
    }
    public void setAddtime(Date addtime) 
    {
        this.addtime = addtime;
    }

    public Date getAddtime() 
    {
        return addtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("attr", getAttr())
            .append("condition", getConditions())
            .append("color", getColor())
            .append("time", getTime())
            .append("addTime", getAddTime())
            .append("icon", getIcon())
            .append("remake", getRemake())
            .append("chtype", getChtype())
            .append("addtime", getAddtime())
            .toString();
    }
}
